Commit Graph

  • dc0097909e o/servicestate/quota_control_test.go: adjust var names Ian Johnson 2021-06-03 13:23:47 -05:00
  • 6cf5c977c7 daemon,o/devicestate: have DeviceManager.SystemMode take an expectation on the system Samuele Pedroni 2021-06-03 18:41:41 +02:00
  • 1ca62f842d o/snapstate,o/devicestate: exclusive conflict error message tweak Samuele Pedroni 2021-06-03 16:20:47 +02:00
  • 3731333fd1 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-remodel-conflict-exclusive-check Samuele Pedroni 2021-06-03 16:16:10 +02:00
  • 61a869b343 o/devicestate: require serial assertion before remodeling can be started Samuele Pedroni 2021-06-03 16:13:29 +02:00
  • 62454e6091 systemd: improve systemctl error reporting Samuele Pedroni 2021-06-03 16:10:53 +02:00
  • 50418de186 o/devicestate: require serial assertion before remodeling can be started Maciej Borzecki 2021-05-31 16:12:57 +02:00
  • 88384062e2 tests/core/remodel: use model assertions signed with valid keys Samuele Pedroni 2021-06-03 14:40:59 +02:00
  • ea65e1c4fc systemd: rename Error.exitCodeErr to runErr for clarity Samuele Pedroni 2021-06-03 14:33:36 +02:00
  • 0216774282 daemon: use respJSON direclty in SyncResponse Samuele Pedroni 2021-03-15 21:09:09 +01:00
  • ac21e4abce daemon: drop Meta plus some other small cleanups Samuele Pedroni 2021-03-15 20:59:06 +01:00
  • 716b13b5f9 daemon: simplify SyncResponse Samuele Pedroni 2021-03-15 20:46:06 +01:00
  • 5f683e9525 daemon: introduce findResponse instead of passing Meta into SyncResponse Samuele Pedroni 2021-03-15 20:41:35 +01:00
  • cc6f33693b daemon: use apiError for more of the code Samuele Pedroni 2021-06-03 09:58:18 +02:00
  • 69f48246d8 fix snaps-state test Sergio Cazzolato 2021-06-02 23:52:29 -03:00
  • edad6be209 Move snaps.sh helper to snaps-state and remove not needed uses of snaps.sh Sergio Cazzolato 2021-06-02 23:14:45 -03:00
  • 5e1afb00c9 Update spread images for ubuntu uc20 and 2104 Sergio Cazzolato 2021-06-02 17:08:52 -03:00
  • 6d72cd6d0e Merge pull request #10339 from stolowski/fix-snap-action-result-typo Michael Vogt 2021-06-02 19:02:24 +02:00
  • 887a7f2523 systemd: improve systemctl error reporting Michael Vogt 2021-06-02 18:08:16 +02:00
  • 098f558c07 o/servicestate/quota_control_test.go: change helper escaping Ian Johnson 2021-06-02 10:37:22 -05:00
  • 3ee3c58c4e Merge pull request #10337 from mvo5/trusty-fix-tests Michael Vogt 2021-06-02 17:40:46 +02:00
  • 0d505d709c Fix typo in snapActionResult struct json tag. Paweł Stołowski 2021-06-02 17:00:22 +02:00
  • 8a85b841a5 tests/lib/assertions: outline the procedure for signing model assertions Maciej Borzecki 2021-06-02 16:36:43 +02:00
  • f5f60d4857 overlord/devicestate: support for snap downloads in recovery system handlers Maciej Borzecki 2021-06-02 12:37:33 +02:00
  • 2066d43048 userd: mock systemd --version in privilegedDesktopLauncherSuite Michael Vogt 2021-06-02 13:34:38 +02:00
  • 74b9326fff Tweak the comment (thanks bboozzoo) Pawel Stolowski 2021-06-02 12:29:55 +02:00
  • d500af38a9 Extra test debug. Paweł Stołowski 2021-06-02 11:31:48 +02:00
  • 4af1986dcf Merge pull request #10335 from bboozzoo/bboozzoo/fedora-sync-packaging Maciej Borzecki 2021-06-02 11:30:02 +02:00
  • 275577cf0b Fix fmt. Paweł Stołowski 2021-06-02 10:22:26 +02:00
  • 6e0ab73ca4 Fix go fmt. Paweł Stołowski 2021-06-02 10:12:22 +02:00
  • 5a2537cd40 Fix fmt. Paweł Stołowski 2021-06-02 09:46:54 +02:00
  • ec0bd370e7 Calculate the hold duration that's left and put it in the errors. Simplify the logic based on the new calulcation, add new test. Paweł Stołowski 2021-06-01 18:01:03 +02:00
  • 9cf97ee654 Introduce maxPostponementBuffer to limit gating to up to 90 days instead of 95. Paweł Stołowski 2021-06-01 13:20:44 +02:00
  • a61a24e96c Some renaming. Paweł Stołowski 2021-06-01 12:22:49 +02:00
  • 94f61f3001 Remove pruneGating helper for now. Paweł Stołowski 2021-06-01 12:16:42 +02:00
  • d6b74f65f3 Refactor HoldRefresh logic, consider firstHeld to ensure that cumulative hold time doesn't exceed maxium allowed hold time for the given snap. Added more tests Paweł Stołowski 2021-05-31 13:33:26 +02:00
  • 3140aa6acb Add comments about lastRefreshed logic; small naming tweaks (thanks mardy). Paweł Stołowski 2021-05-31 11:02:32 +02:00
  • 0add03a792 Refactor holding logic. Paweł Stołowski 2021-05-28 12:07:48 +02:00
  • 88f7d9fd5e Remove optimization for pruning if there are no candidates. Paweł Stołowski 2021-05-25 16:58:57 +02:00
  • f45cc8636c Small tweaks, renaming etc. Paweł Stołowski 2021-05-25 16:31:40 +02:00
  • e7d1df2d01 Add helpers for setting and querying holding time for snaps. Paweł Stołowski 2021-05-21 13:26:15 +02:00
  • 77cbd8c9eb packaging/fedora: sync with downstream packaging Maciej Borzecki 2021-05-31 13:43:14 +02:00
  • 058dcbe661 daemon: convert AccessChecker over to using apiError James Henstridge 2021-06-02 14:36:30 +08:00
  • 89103a64b8 Merge remote-tracking branch 'upstream/master' into daemon-access-check-response James Henstridge 2021-06-02 14:26:03 +08:00
  • 0fdf5ee040 tests/lib/assertions, tests/core/remodel-gadget: fix assertions, generate missing ones Maciej Borzecki 2021-06-01 17:26:33 +02:00
  • 585214694c tests/core/remodel: use models signed with valid keys, make sure that a serial can be obtained Maciej Borzecki 2021-06-01 13:56:29 +02:00
  • 1006d71496 tests/core/custom-device-reg: cleanup unnecessary shellcheck disable stanza Maciej Borzecki 2021-06-01 13:57:31 +02:00
  • 354fce525d daemon/api_quotas.go: include current memory usage information in results Samuele Pedroni 2021-06-01 20:27:20 +02:00
  • faa53cfbc5 daemon: use apiError in api_snap_conf.go and api_snapctl.go Samuele Pedroni 2021-03-15 20:23:46 +01:00
  • edf0b3f422 daemon: use apiError in api_model.go Samuele Pedroni 2021-03-15 20:17:35 +01:00
  • d8a9d4af56 daemon: use apiError in api_validate.go Samuele Pedroni 2021-03-15 20:14:14 +01:00
  • 91ac3f3d6b daemon: use apiError in api_buy_unsupp.go Samuele Pedroni 2021-03-15 20:11:35 +01:00
  • d1142a0f26 daemon: switch api_find.go/api_sections.go to apiError Samuele Pedroni 2021-03-15 20:03:57 +01:00
  • 0759881217 daemon: cover network error paths in api_find.go Samuele Pedroni 2021-03-15 19:50:22 +01:00
  • 7a84ff7d01 daemon: switch api_users.go to apiError, also cover related paths Samuele Pedroni 2021-03-15 10:06:38 +01:00
  • 4a760b8314 daemon: introduce StructuredResponse and apiError Samuele Pedroni 2021-06-01 18:44:54 +02:00
  • 4d911326e8 Merge pull request #10246 from stolowski/fix-patch62-one-snapd Michael Vogt 2021-06-01 18:13:02 +02:00
  • f5335551e9 Merge pull request #10099 from anonymouse64/feature/snapd-snap-built-with-lxd Michael Vogt 2021-06-01 17:53:18 +02:00
  • 250e019dc2 daemon/api_quotas.go: include current memory usage information in results Ian Johnson 2021-05-25 14:24:16 -05:00
  • 466f6206e0 daemon: use rspe (response error) instead of very contracted ae (api error) Samuele Pedroni 2021-06-01 14:22:26 +02:00
  • c97b69f892 daemon: simplify as addWarningCount appears once in the resp pipeline Samuele Pedroni 2021-06-01 14:17:23 +02:00
  • 9648f2910b daemon: small tweaks and typo fix Samuele Pedroni 2021-06-01 14:16:21 +02:00
  • 6edb84a868 Fix test flakiness due to snap ordering. Paweł Stołowski 2021-06-01 14:00:54 +02:00
  • 916e4957d7 Merge branch 'master' into refresh-control/autorefresh-phases-phase2 Paweł Stołowski 2021-06-01 10:20:26 +02:00
  • 032f5f5522 Add tests involving disk space check. Paweł Stołowski 2021-06-01 10:19:55 +02:00
  • 84c00cfe8b interfaces: update polkit interface to match backend changes James Henstridge 2021-06-01 16:01:54 +08:00
  • 53f0c0d502 Merge pull request #9615 from sergiocazzolato/tests-migrate-snaps-helper-part2 Maciej Borzecki 2021-06-01 09:51:24 +02:00
  • da803b9873 Merge remote-tracking branch 'upstream/master' into feature/swap-option Michael Vogt 2021-06-01 09:38:37 +02:00
  • 9fd2361ab6 Merge pull request #10287 from anonymouse64/feature/quota-group-functional-spread Michael Vogt 2021-06-01 09:24:30 +02:00
  • b5f9194892 interfaces/dsp: add /dev/cavalry into dsp interface Hsieh-Tseng Shen 2021-06-01 00:10:09 +08:00
  • b774dda81b Merge pull request #10324 from woodrow-shen/add-cavalry-into-dsp Michael Vogt 2021-06-01 09:05:53 +02:00
  • 4646a9259d Merge branch 'polkit-iface-backend' into polkit-iface James Henstridge 2021-06-01 13:00:10 +08:00
  • 2587fdf6a9 tests/main/snap-quota-groups: allow 203 or 9 exit status Ian Johnson 2021-05-31 20:46:32 -05:00
  • 1f1f04a9c7 tests/main/snap-quota-groups: do some checks in loops, add commentary Ian Johnson 2021-05-31 16:04:10 -05:00
  • 4b39461b00 Fix shellcheck Sergio Cazzolato 2021-05-31 16:33:54 -03:00
  • f0ded027db Add check for snapd binary Sergio Cazzolato 2021-05-31 16:14:53 -03:00
  • 8809cddafc Update working and case to cover all the ubuntus Sergio Cazzolato 2021-05-31 14:09:05 -03:00
  • 1e5034e903 Fix shell check error and indentation in snaps-state tool Sergio Cazzolato 2021-05-31 13:59:54 -03:00
  • 4f44328f0d Merge branch 'master' into tests-migrate-snaps-helper-part2 Sergio Cazzolato 2021-05-31 13:57:40 -03:00
  • 40759257e8 tests: set memory limit for snap-quota-groups *really* low Michael Vogt 2021-05-31 18:34:10 +02:00
  • 331f67ca5f interfaces/dsp: add /dev/cavalry into dsp interface Hsieh-Tseng Shen 2021-06-01 00:10:09 +08:00
  • 38fe2adb3c Rename the handler to doConditionalAutoRefresh. Set task status to done to avoid duplicated tasks in case of a reboot (thanks pedronis). Paweł Stołowski 2021-05-31 18:06:42 +02:00
  • 51bbbfd48d tests: fix location of the v2 cgroups.procs file Michael Vogt 2021-05-31 16:59:21 +02:00
  • a4617e28a8 cmd/snap/cmd_info_test.go: make test robust against TZ changes (#10328) Alberto Mardegan 2021-05-31 17:15:26 +03:00
  • edd42037e0 Merge remote-tracking branch 'upstream/master' into polkit-iface-backend James Henstridge 2021-05-31 21:46:10 +08:00
  • af4030f6b5 Merge pull request #10286 from sergiocazzolato/tests-reorg-local-snaps-part-2 Sergio Cazzolato 2021-05-31 09:43:00 -03:00
  • af5780801c Merge pull request #10326 from bboozzoo/bboozzoo/desktop-launch-unit-tests-var-lib-snapd Pawel Stolowski 2021-05-31 14:20:24 +02:00
  • 410ef6db0c sandbox/cgroup: wait for pid to be moved to the desired cgroup Samuele Pedroni 2021-05-31 14:17:22 +02:00
  • 07c477df98 Merge remote-tracking branch 'upstream/master' into bboozzoo/desktop-launch-unit-tests-var-lib-snapd Maciej Borzecki 2021-05-31 13:01:03 +02:00
  • 7cea763aa6 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-remodel-conflict-exclusive-check Maciej Borzecki 2021-05-31 13:00:33 +02:00
  • 2781fcca9c o/snapstate, o/devicestate: include conflicting change kind in the error message Maciej Borzecki 2021-05-31 12:59:58 +02:00
  • e0fd80ddff wrappers: ad MemoryLimit for compatibility with older systemd versions Michael Vogt 2021-05-31 12:53:10 +02:00
  • ca1d25245d Merge pull request #10327 from pedronis/make-check-test-format-happy Michael Vogt 2021-05-31 12:52:25 +02:00
  • 176388f456 interfaces: store policy file contents in the Specification rather than file names. James Henstridge 2021-05-31 17:29:43 +08:00
  • 309af3b132 tests: fix snap-user-dir-perms-fixed vs format checks Samuele Pedroni 2021-05-31 11:16:15 +02:00
  • 99a5fb9ad3 usersession/userd: fix unit tests on systems using /var/lib/snapd Maciej Borzecki 2021-05-31 11:10:24 +02:00
  • fe6912473f tests: update snap-quota-groups test for different systemd versions Michael Vogt 2021-05-31 09:53:26 +02:00
  • f5f5d49f29 Merge remote-tracking branch 'upstream/master' into polkit-iface-backend James Henstridge 2021-05-31 16:11:14 +08:00
  • 856a839056 interfaces/desktop-launch: support confined snaps launching other snaps (#8699) Alan Griffiths 2021-05-31 08:49:35 +01:00
  • 6f403abe50 Merge pull request #10046 from jhenstridge/enable-feature-dbus-activation Michael Vogt 2021-05-31 09:38:51 +02:00