Commit Graph

  • 28ada5c0f1 retry to umount /var/lib/snapd/seed on uc20 on fsck-on-boot test Sergio Cazzolato 2021-12-07 10:01:50 -03:00
  • 2243b82161 tests/lib/pkgdb: install dbus-user-session during prepare, drop dbus-x11 Maciej Borzecki 2021-12-07 12:53:53 +01:00
  • 5f5e786ab3 Merge pull request #10977 from mardy/kernel-module-load Michael Vogt 2021-12-07 12:45:32 +01:00
  • 7cd87b73be Fix typo Pawel Stolowski 2021-12-07 11:32:04 +01:00
  • 27197fc456 o/snapstate: add tests (update classic, validation) Miguel Pires 2021-11-26 18:04:30 +00:00
  • 9f68aa23eb o/snapstate: improve flag checks Miguel Pires 2021-11-26 11:09:30 +00:00
  • c822c5299d o/snapstate: rm unused parameter in ResolveChannel Miguel Pires 2021-11-25 16:58:09 +00:00
  • 01b2c76ae9 o/snapstate: add InstallPathMany Miguel Pires 2021-11-25 16:55:15 +00:00
  • 2a97a75ef9 test/lib/nested: ubuntu-image no longer supports --output Maciej Borzecki 2021-12-07 10:58:27 +01:00
  • f2c08d0470 tests/lib/nested: drop quoting of ubuntu-image arguments Maciej Borzecki 2021-12-07 10:48:14 +01:00
  • 302edac2a5 Merge remote-tracking branch 'upstream/master' into boozzoo/fix-extra-snaps-args Maciej Borzecki 2021-12-07 10:46:04 +01:00
  • 347dcd481c Rename errNotImplemented to notImplementedError. Paweł Stołowski 2021-12-07 09:31:17 +01:00
  • 5fd7dde7a1 tests/core/kernel-and-base-single-reboot-failover, tests/lib/fakestore: verify failover scenario Maciej Borzecki 2021-12-06 15:48:27 +01:00
  • 1b53131f98 tests: verify that simultaneous refresh of kernel and base triggers a single reboot only Maciej Borzecki 2021-12-03 10:15:14 +01:00
  • d0de40eeb9 o/snapstate: introduce updateGadgetAssets from #10943 Maciej Borzecki 2021-12-02 10:06:02 +01:00
  • 8d81c254be o/snapstate: lock around settle in the unit tests Maciej Borzecki 2021-12-02 09:58:11 +01:00
  • 65b3f5e6fc o/snapstate: simplify/share code between verify*Tasks functions Samuele Pedroni 2021-11-01 20:19:34 +01:00
  • 8bfa69c826 o/snapstate: drop unused verify*Tasks state.State args Samuele Pedroni 2021-10-29 16:43:20 +02:00
  • 3f125d1888 overlord, o/snapstate: refactor the unit test code to not use the restart package Maciej Borzecki 2021-12-02 09:33:56 +01:00
  • b3c25b1ee1 o/snapstate: tweak unit test name Maciej Borzecki 2021-11-25 07:52:28 +01:00
  • 1edb5635cf o/snapstate: drop kernel-core18 from the unit tests Maciej Borzecki 2021-11-24 14:29:29 +01:00
  • 28a9bb675e o/snapstate: use edges for easier identification of link-kernel, auto-connect and the tasks around those Maciej Borzecki 2021-11-23 12:32:21 +01:00
  • e2b0673999 o/snapstate: comment tweaks, leave note about UC16 lack of single reboot Maciej Borzecki 2021-11-23 11:56:29 +01:00
  • cc5f08d816 o/snapstate: tweak reboot flag naming Maciej Borzecki 2021-11-23 11:52:02 +01:00
  • 9ccc2c52df o/snapstate: tweak tests to cover kernel with base same as boot base, test case for core Maciej Borzecki 2021-11-16 14:07:40 +01:00
  • 55bfb9d2b8 o/snapstate: separate handling of core and base snaps Maciej Borzecki 2021-11-16 14:09:00 +01:00
  • 90d0b7eee0 o/snapstate: comment updates Maciej Borzecki 2021-11-16 14:08:43 +01:00
  • 305bf395ea o/snapstate: use a flag that blocks the task's ability to request a reboot Maciej Borzecki 2021-11-16 14:08:18 +01:00
  • eab2a6bc03 o/snapstate: fix comment typo Maciej Borzecki 2021-11-10 12:24:49 +01:00
  • 990cbae5bf overlord: add managers test for single reboot Maciej Borzecki 2021-11-09 08:57:00 +01:00
  • 924f0bede4 o/state: one more taskrunner test for cross lane aborting Maciej Borzecki 2021-11-09 12:52:32 +01:00
  • 687fecdf95 overlord/state: add a unit test for a kernel+base refresh like sequence Maciej Borzecki 2021-11-05 14:45:09 +01:00
  • da46dfaa9a o/snapstate: single reboot when updating both kernel and boot base Maciej Borzecki 2021-11-08 14:08:14 +01:00
  • 583ffb0fa9 o/snapstate: add unit tests for single reboot Maciej Borzecki 2021-11-03 14:06:08 +01:00
  • 3289bbb83e o/snapstate: rename a helper Maciej Borzecki 2021-11-08 13:51:22 +01:00
  • cc5743b1ce o/snapstate: install fake handler for undo of foreign tasks too Maciej Borzecki 2021-11-09 12:57:46 +01:00
  • 774637e83e overlord/snapstate: allow foreign task to inject errors Maciej Borzecki 2021-11-05 14:46:47 +01:00
  • 28748599ab Provide more detailed errors for systemd emulation methods that are not implemented. Paweł Stołowski 2021-12-06 17:17:03 +01:00
  • 672b1c8ea7 snap: add support for snap watch --last={revert,enable,disable,switch} Michael Vogt 2021-12-07 09:13:16 +01:00
  • 227db4a096 daemon: test many local install with assertions, devmode and dangerous Miguel Pires 2021-12-06 18:04:51 +00:00
  • 02fc84a43a daemon: rm unused param and fix change summary Miguel Pires 2021-12-06 17:52:58 +00:00
  • 16d60e3bd8 Merge pull request #11147 from bboozzoo/bboozzoo/security-udev-input-debugs Michael Vogt 2021-12-06 18:18:21 +01:00
  • 6d46ca8622 tests/core/kernel-and-base-single-reboot-failover, tests/lib/fakestore: verify failover scenario Maciej Borzecki 2021-12-06 15:48:27 +01:00
  • 1faa7e031d Merge pull request #11130 from bboozzoo/bboozzoo/security-device-cgroup-helper-less-flaky Michael Vogt 2021-12-06 15:46:07 +01:00
  • 49d5548ec8 Merge pull request #11131 from bboozzoo/bboozzoo/nested-wait-for-serial Michael Vogt 2021-12-06 15:45:27 +01:00
  • e01fc9592f Merge pull request #11145 from pedronis/tests-unregister-reregister Ian Johnson 2021-12-06 08:32:34 -06:00
  • 239a2e94cc Merge pull request #10969 from stolowski/validation-sets/undo-on-partial-failure Pawel Stolowski 2021-12-06 14:50:24 +01:00
  • a5e5c1daee tests/main/security-udev-input-subsystem: drop info from udev Maciej Borzecki 2021-12-06 13:06:48 +01:00
  • 9aae81921f Merge pull request #11140 from MiguelPires/2.53-disk-checks Michael Vogt 2021-12-06 09:39:29 +01:00
  • fb6320089c Merge pull request #11144 from anonymouse64/release-2.53.4-changelog Michael Vogt 2021-12-06 09:38:21 +01:00
  • 0a985d079a kernel-module-load: add spread test Alberto Mardegan 2021-10-26 09:49:30 +03:00
  • 54d190442e packaging: clean modprobe conf in postrm and snap-mgmt Alberto Mardegan 2021-10-29 17:11:23 +03:00
  • 75e8300574 interfaces: add kernel-module-load interface Alberto Mardegan 2021-10-22 12:22:04 +03:00
  • 0ba3dad616 interfaces/kmod/backend: add code for modprobe setup Alberto Mardegan 2021-10-25 13:52:27 +03:00
  • 23d29f3a25 interfaces/kmod/backend: refactor Setup method Alberto Mardegan 2021-10-25 12:35:30 +03:00
  • 37ddef63d6 interfaces/kmod/spec: add methods for module options Alberto Mardegan 2021-10-25 14:44:34 +03:00
  • c59f584714 interfaces/kmod/spec: add list of disallowed modules Alberto Mardegan 2021-10-25 11:43:49 +03:00
  • 46cd020702 tests: ensure snapd can be downloaded as a module (#11052) burak 2021-12-03 23:46:53 +03:00
  • fa70d02201 Merge pull request #11137 from anonymouse64/feature/info-file-flags Ian Johnson 2021-12-03 14:34:22 -06:00
  • 8a2ab9f794 snapdtool/info_file.go: update doc-comment Ian Johnson 2021-12-03 10:03:51 -06:00
  • da66f6a5c1 Simplify error check. Paweł Stołowski 2021-12-03 16:32:57 +01:00
  • 4e1b9ff8a2 Add/tweak comments, simplify the test (thanks MiguelPires). Paweł Stołowski 2021-12-03 15:53:20 +01:00
  • 271b365f88 tests/main/generic-unregister: test re-registration if not blocked Samuele Pedroni 2021-12-03 15:47:29 +01:00
  • 3af4a66c6f Fix format Paweł Stołowski 2021-12-01 12:16:49 +01:00
  • edf51f5e4b Expand the comments. Paweł Stołowski 2021-11-29 17:29:57 +01:00
  • 2bde76ee10 Return ErrNoState if there is nothing to restore in RestoreValidationSetsTracking. Paweł Stołowski 2021-11-29 13:32:58 +01:00
  • ba66aa3df6 Restore validation sets tracking in the daemon after an early error from UpdateMany. Paweł Stołowski 2021-11-29 13:31:57 +01:00
  • 0557ecc9cf Add tests for doCheckReRefresh logic around maybeRestoreValidationSetsAndRevertSnaps. Paweł Stołowski 2021-11-29 12:58:42 +01:00
  • 2320ebdc63 Add missing test for RestoreValidationSetsTracking. Paweł Stołowski 2021-11-29 11:08:50 +01:00
  • 97a4977a36 Handle partial refresh failure when validation sets in enforcing mode are used: reconsider validation sets and restore them to the previous tracking state as well as revert some or all of the affected snaps to bring the system back to the state where validation-sets enforcing is satisfied. Paweł Stołowski 2021-11-17 14:36:35 +01:00
  • 2af8390b32 snap-bootstrap: Mount snaps read only Valentin David 2021-11-29 17:01:30 +01:00
  • 6aee3a20e5 Merge branch 'master' into notifications/close-notification Paweł Stołowski 2021-12-03 13:23:24 +01:00
  • 42aa228463 Merge pull request #11141 from bboozzoo/bboozzoo/improve-fish-env Maciej Borzecki 2021-12-03 13:20:12 +01:00
  • 138f7baabc snap: move AllUsers to snap Miguel Pires 2021-12-03 11:51:50 +00:00
  • a0435b1bb3 Merge pull request #11072 from stolowski/notifications/client-user-subset Pawel Stolowski 2021-12-03 12:44:34 +01:00
  • fda586b928 tests: verify that simultaneous refresh of kernel and base triggers a single reboot only Maciej Borzecki 2021-12-03 10:15:14 +01:00
  • 4de41442b7 Merge branch 'release/2.53' into release-2.53.4-changelog Ian Johnson 2021-12-02 19:20:03 -06:00
  • ccddf8d766 release: 2.53.4 2.53.4 Ian Johnson 2021-12-02 17:17:26 -06:00
  • f55c6e299a devicestate: mock devicestate.MockTimeutilIsNTPSynchronized to avoid host env leaking into tests Michael Vogt 2021-11-05 16:59:36 +01:00
  • 3e1538de5e timeutil: return NoTimedate1Error if it can't connect to the system bus Michael Vogt 2021-11-05 16:52:47 +01:00
  • 9e0bccf081 release: 2.53.3 2.53.3 Ian Johnson 2021-12-02 15:17:09 -06:00
  • 7ad3c6b3e8 snapdtool, cmd/snap-preseed: adjust SnapdVersionFromInfoFile to take a dir Ian Johnson 2021-12-02 12:04:43 -06:00
  • d84f46c229 daemon: refactor file passing and flags Miguel Pires 2021-12-02 17:44:24 +00:00
  • b33f472060 devicestate: Unregister deletes the device key pair as well Samuele Pedroni 2021-12-02 18:04:53 +01:00
  • 4a8ecace54 devicestate: Unregister deletes the device key pair as well Samuele Pedroni 2021-12-02 18:04:53 +01:00
  • eabc9c3a29 daemon,tests: support forgetting device serial via API (#11135) Samuele Pedroni 2021-12-02 15:29:34 +01:00
  • 1bb7387787 daemon,tests: support forgetting device serial via API (#11135) Samuele Pedroni 2021-12-02 15:29:34 +01:00
  • f9dd306a07 data/env: improve fish shell env setup Maciej Borzecki 2021-12-02 12:48:24 +01:00
  • eaadce8b0c o/snapstate: change panic to internal error Miguel Pires 2021-11-24 14:51:39 +00:00
  • a0aa30819a o/snapstate: refactor disk space checks Miguel Pires 2021-11-24 11:28:57 +00:00
  • 798f8db5a2 asserts: change behavior of alternative attribute matcher Samuele Pedroni 2021-12-02 11:36:00 +01:00
  • ca2e0df0c0 configcore: relax validation rules for hostname Michael Vogt 2021-12-02 10:40:48 +01:00
  • 8181bce557 configcore: relax validation rules for hostname Michael Vogt 2021-12-02 10:40:48 +01:00
  • f4cefc704d cmd/snap-confine: do not include libglvnd libraries from the host system James Henstridge 2021-12-02 17:39:04 +08:00
  • 1274043bb2 interfaces, tests: move polkit policy files to $SNAP/meta/polkit James Henstridge 2021-12-02 16:16:47 +08:00
  • 2553e92a00 interfaces: fix wording of error messages James Henstridge 2021-12-02 16:11:08 +08:00
  • c5f3197518 snapdtool, many: support additional key/value flags in info file Ian Johnson 2021-12-01 16:08:28 -06:00
  • d2b8a24b79 Merge pull request #11125 from mvo5/devicestate-unregister-2.53 Ian Johnson 2021-12-01 14:34:39 -06:00
  • d8f536a3ce daemon: add multiple snap sideload to API Miguel Pires 2021-12-01 13:49:11 +00:00
  • 2cfed25b10 Merge pull request #11107 from bboozzoo/bboozzoo/uc20-to-uc22-remodel-test Maciej Borzecki 2021-12-01 16:36:22 +01:00