Commit Graph

  • 93beb910f9 HACKING.md: update instructions for go1.16+ Michael Vogt 2021-06-22 17:45:22 +02:00
  • 6296bd1731 Merge pull request #10431 from sergiocazzolato/tests-fix-snap-user-service-restart-on-upgrade Michael Vogt 2021-06-22 17:41:42 +02:00
  • 43082fcf86 Make sure the directory is backed up using the right user session Sergio Cazzolato 2021-06-22 12:36:06 -03:00
  • bc8c5e46f7 o/servicestate: don't test quota* helpers directly Samuele Pedroni 2021-06-22 17:20:57 +02:00
  • 8e0e7412a0 packaging: switch ubuntu to use golang-1.13 Michael Vogt 2021-06-22 13:51:21 +02:00
  • 7ac1bd49a0 snap: fix TestInstallNoPATH unit test failure when SUDO_UID is set Michael Vogt 2021-06-22 16:33:36 +02:00
  • cb07e936b5 Use json.RawMessage in conditionalAutoRefreshAffectedSnaps. Add TODO about dropping snaps once we know the outcome of the hooks. Paweł Stołowski 2021-06-21 18:04:52 +02:00
  • 2847c9dcca Make conditional-auto-refresh conflict with other tasks via affected snaps. Paweł Stołowski 2021-06-18 12:32:26 +02:00
  • 1cf4917c5e Merge pull request #10433 from stolowski/refresh-control/prune-on-snap-remove Pawel Stolowski 2021-06-22 16:02:18 +02:00
  • 46ebb11bab tests: remove systemctl start from classic-prepare-image{,-no-core} tests as the reset code will restart snapd anyway so we do nott need to do it twice Michael Vogt 2021-06-22 09:54:23 +02:00
  • 682440ca34 tests: remove not longer needed SNAPPY_USE_STAGING_STORE="$SNAPPY_USE_STAGING_STORE" Michael Vogt 2021-06-22 09:51:32 +02:00
  • a90b655d8b tests/main/stale-base-snap: enable the test on cgroup v2 systems Maciej Borzecki 2021-06-22 08:36:40 +02:00
  • c46bbae8b1 cmd/snap-confine: make mount ns use check cgroup v2 compatible Maciej Borzecki 2021-06-18 17:30:47 +02:00
  • 475605f168 Merge pull request #10434 from anonymouse64/feature/quota-groups-the-prequel-spinoff-5.5 Michael Vogt 2021-06-21 21:25:18 +02:00
  • 020813ae58 Merge pull request #10435 from bboozzoo/bboozzoo/cmd-tweaks-and-updates Michael Vogt 2021-06-21 21:20:35 +02:00
  • 395e79317c o/servicestate: refactor meter handling, eliminate some common parameters Samuele Pedroni 2021-06-21 17:42:22 +02:00
  • d9b8371362 Merge pull request #10413 from stolowski/refresh-control/allow-pending-proceed Pawel Stolowski 2021-06-21 16:53:51 +02:00
  • 7934ae8dfe o/servicestate/servicestatetest: rm MustBeTestBinary call in Mock* function Ian Johnson 2021-06-21 09:41:33 -05:00
  • 59122a4220 o/servicestate/quota_handlers.go: delete finished TODO Ian Johnson 2021-06-18 14:42:21 -05:00
  • 4d2dc2462e daemon/api_quotas_test.go: fix test function mocking restoration Ian Johnson 2021-06-18 14:39:21 -05:00
  • e7bf43ea16 o/servicestate/servicestatetest: add MockQuotaInState, use in external tests Ian Johnson 2021-06-18 14:20:10 -05:00
  • bcc66c8c77 cmd: add config file for clangd Maciej Borzecki 2021-06-21 14:51:42 +02:00
  • a063f3000b cmd: fix autogen to use /usr/libexec on openSUSE Tumbleweed Maciej Borzecki 2021-06-21 13:08:01 +02:00
  • 475993c08f cmd: fix make hack flags for snap-update-ns Maciej Borzecki 2021-06-21 09:45:44 +02:00
  • d789388d5e o/servicestate: refactor meter handling, eliminate some common parameters Ian Johnson 2021-06-18 13:53:55 -05:00
  • c478ee31b9 Prune gating information and refresh-candidates on snap removal. Paweł Stołowski 2021-06-21 13:25:40 +02:00
  • deb52c11ea Merge pull request #10418 from stolowski/refresh-control/reset-candidates Pawel Stolowski 2021-06-21 12:00:23 +02:00
  • eccb3a19f3 Fix locking. Paweł Stołowski 2021-06-18 10:26:31 +02:00
  • d8617688d5 Actually pass --pending in the test (thanks mardy!). Paweł Stołowski 2021-06-17 11:33:53 +02:00
  • 006e1b02ee Fix locking. Paweł Stołowski 2021-06-16 11:21:45 +02:00
  • 2bbd0f0d43 Allow snapctl refresh --pending --proceed syntax. Paweł Stołowski 2021-06-16 10:43:23 +02:00
  • bdd18a53d7 boot: support resealing with a try model Maciej Borzecki 2021-06-15 17:38:48 +02:00
  • c48ab72509 Merge pull request #10363 from mardy/extrausers-lp1840375 Michael Vogt 2021-06-21 09:46:12 +02:00
  • 9107dd8fc0 Merge pull request #10384 from stolowski/refresh-control/hold-reset-refreshed Michael Vogt 2021-06-21 09:45:02 +02:00
  • 3efb83b836 Merge pull request #10394 from anonymouse64/tests/uc20-gadget-cloud-conf-spread Michael Vogt 2021-06-21 09:42:06 +02:00
  • 1371052bf1 Merge pull request #10421 from bboozzoo/bboozzoo/uc20-drop-model-from-reseal-and-bootstate Michael Vogt 2021-06-21 09:38:48 +02:00
  • 616e9e52a3 Merge pull request #10425 from anonymouse64/bugfix/quota-groups-pour-one-out-for-xenial Michael Vogt 2021-06-21 09:37:25 +02:00
  • 0cf11aba5a Merge pull request #10429 from pedronis/servicestate-internal-quotas Michael Vogt 2021-06-21 09:28:03 +02:00
  • e513aa3a76 Add quoting Sergio Cazzolato 2021-06-20 16:56:17 -03:00
  • 6110a1cec3 Fix classic-prepare-image test Sergio Cazzolato 2021-06-20 16:51:17 -03:00
  • 372a1523c8 packaging/{debian-sid,ubuntu-14.04}/snapd.postrm: remove slices too Ian Johnson 2021-06-18 15:55:05 -05:00
  • 56e68834f1 Merge branch 'master' into bugfix/quota-groups-pour-one-out-for-xenial Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-06-18 13:49:17 -05:00
  • f4213c8962 tests/main/snap-quota: fix regex to include 20X Ian Johnson 2021-06-18 13:49:02 -05:00
  • aa498f762e o/servicestate: rename internal.CreateQuotaInState, merge quotaCreateImpl Samuele Pedroni 2021-06-18 20:31:37 +02:00
  • 91966ff8b7 Merge remote-tracking branch 'upstream/master' into servicestate-internal-quotas Samuele Pedroni 2021-06-18 20:26:18 +02:00
  • 2fb355d72f o/servicestate/quota_control.go: enforce minimum of 4K for quota groups Samuele Pedroni 2021-06-18 20:25:24 +02:00
  • dcebaae34a overlord/servicestate: avoid unnecessary computation of disabled services Samuele Pedroni 2021-06-18 19:13:51 +02:00
  • e113cdf7ca tests/main/snap-quota: fix typo in expected error message Ian Johnson 2021-06-18 11:52:45 -05:00
  • 0158d488fe tests/lib/tools/os.query: fix typo in is_centos_7 Ian Johnson 2021-06-18 11:49:31 -05:00
  • 6731f9eaa8 Merge branch 'master' into feature/quota-groups-remastered-deluxe-diamond-edition-2.5 Ian Johnson 2021-06-18 10:36:58 -05:00
  • 9d84a15011 overlord/servicestate: avoid unnecessary computation of disabled services Alberto Mardegan 2021-06-18 17:25:57 +03:00
  • d74a16dc39 tests/main/postrm-purge: always check there are no slices leftover Ian Johnson 2021-06-18 09:20:28 -05:00
  • 30259a79ab tests/main/quota-groups-systemd-accounting: adjust description for accuracy Ian Johnson 2021-06-18 09:19:07 -05:00
  • 87453b9540 Merge branch 'master' into bugfix/quota-groups-pour-one-out-for-xenial Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-06-18 09:17:57 -05:00
  • f858a586ea o/servicestate: introduce internal and servicestatetest Samuele Pedroni 2021-06-18 13:17:04 +02:00
  • efcd536d47 sandbox/cgroup: account for different Go 1.9 fillepath.Walk behavior in the tests Maciej Borzecki 2021-06-18 11:43:49 +02:00
  • 760098ecdb Merge branch 'master' into refresh-control/reset-candidates Paweł Stołowski 2021-06-18 10:30:16 +02:00
  • 223d51defd o/hookstate/ctlcmd: do not call ProceedWithRefresh immediately from snapctl Samuele Pedroni 2021-06-18 10:03:37 +02:00
  • b74127a571 o/snapstate: prune hold state during autoRefreshPhase1 Samuele Pedroni 2021-06-18 10:02:49 +02:00
  • d92fa5844e wrappers/services.go: do not restart disabled or inactive services Samuele Pedroni 2021-06-18 09:48:18 +02:00
  • 4097a4b2b4 sysconfig/cloudinit.go: allow installing both gadget + ubuntu-seed config Samuele Pedroni 2021-06-18 09:45:30 +02:00
  • 3c890d149d cmd/snap-update-ns: add missing cgroup related mocking Maciej Borzecki 2021-06-18 08:34:53 +02:00
  • bdda723d88 Merge remote-tracking branch 'upstream/master' into bboozzoo/cgroupv2-freezer-sun Maciej Borzecki 2021-06-18 08:19:31 +02:00
  • 39db9f27c1 sandbox/cgroup: tweak naming to reflect v1 association Maciej Borzecki 2021-06-18 08:06:52 +02:00
  • 64c96e2eed sandbox/cgroup: improve error handling, extend tests to cover more error cases Maciej Borzecki 2021-06-18 08:06:32 +02:00
  • 686077ff05 sandbox/cgroup: skip own cgroup when freezing Maciej Borzecki 2021-06-18 08:04:19 +02:00
  • c744e2375c sandbox/cgroup: tweak naming and comments Maciej Borzecki 2021-06-18 07:59:33 +02:00
  • abfc736d3f interfaces/apparmor: allow snap-update-ns to work with v2 freezer Maciej Borzecki 2021-06-18 07:09:21 +02:00
  • d26133c954 boot: use new kernel path in bootstate reseal tests Maciej Borzecki 2021-06-18 06:50:56 +02:00
  • d38453d48b tests/main/many: update supported systems for quota groups Ian Johnson 2021-06-17 15:41:31 -05:00
  • 10f201e89e Fix test failing on check Sergio Cazzolato 2021-06-17 17:00:49 -03:00
  • 9a112a4633 Make sure the /root/snap dir is backed up on test snap-user-dir-perms-fixed Sergio Cazzolato 2021-06-17 16:52:55 -03:00
  • 36d657b9a3 tests/lib/tools/os.query: add is-centos-7 Ian Johnson 2021-06-17 14:48:52 -05:00
  • 83732138c5 tests/nested/many: wait for journalctl cloud-init message from snapd Ian Johnson 2021-06-17 14:29:26 -05:00
  • cbf0eff90f Merge branch 'master' into bugfix/lp-1918299 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-06-17 13:48:12 -05:00
  • ed91b8712c sysconfig/cloudinit.go: move function call into if Ian Johnson 2021-06-17 13:47:56 -05:00
  • 2791ec80fd tests/snap-quota-groups: wait for svc to be in failed SubState Ian Johnson 2021-06-17 13:41:00 -05:00
  • d29ffacc29 Merge remote-tracking branch 'upstream/master' into classic-content-slot-test Sergio Cazzolato 2021-06-17 15:14:05 -03:00
  • 0f5a5dcf88 Merge remote-tracking branch 'upstream/master' into tests/uc20-gadget-cloud-conf-spread Sergio Cazzolato 2021-06-17 15:13:11 -03:00
  • 0f9c9eb331 snap/quota: remove workaround for CurrentMemoryUsage Ian Johnson 2021-06-17 09:57:58 -05:00
  • 46c7611ec3 o/servicestate/quota_control.go: bump minimum systemd version up to 230 Ian Johnson 2021-06-17 12:44:07 -05:00
  • 7fcfe719a4 Merge pull request #10422 from bboozzoo/bboozzoo/lxd-back-to-candidate Michael Vogt 2021-06-17 18:21:16 +02:00
  • b18a75b570 sandbox/cgroup: use dirs callback for properly mocking root directory Maciej Borzecki 2021-06-17 13:51:37 +02:00
  • bc011846b2 sandbox/cgroup: add cgroup v2 freeze support Maciej Borzecki 2021-06-17 11:37:51 +02:00
  • 3808ce09dc Tweak resetGatingForRefreshed comment. Paweł Stołowski 2021-06-17 13:43:11 +02:00
  • b508eaefc6 Tweak test checks for snap presence in refresh-candidates map. Paweł Stołowski 2021-06-17 11:42:23 +02:00
  • 7c9bbc0407 spread: switch LXD back to latest/candidate channel Maciej Borzecki 2021-06-17 11:41:20 +02:00
  • 975146423a Merge branch 'master' into refresh-control/reset-candidates Paweł Stołowski 2021-06-17 11:38:09 +02:00
  • 4f97432d3c Tweak err conditional. Pawel Stolowski 2021-06-17 11:37:24 +02:00
  • 8e9b48e1d7 boot: drop model from bootstate, make tests more realistic Maciej Borzecki 2021-06-14 17:06:49 +02:00
  • 528b3f8319 boot: drop model from resealing Maciej Borzecki 2021-06-14 15:54:33 +02:00
  • e6eb8f0b6f Merge remote-tracking branch 'upstream/master' into bugfix/lp-1918299 Michael Vogt 2021-06-17 09:21:19 +02:00
  • 60cbc6d2b9 Merge remote-tracking branch 'upstream/master' into classic-content-slot-test Michael Vogt 2021-06-17 09:14:02 +02:00
  • a77fc64eb5 Merge remote-tracking branch 'upstream/master' into extrausers-lp1840375 Michael Vogt 2021-06-17 09:08:55 +02:00
  • 1ca4e94d30 Merge remote-tracking branch 'upstream/master' into refresh-control/purge-hold-snaps-with-candidates Michael Vogt 2021-06-17 09:06:42 +02:00
  • ff74a39301 interfaces/opengl: add support for Imagination PowerVR Ethan Hsieh 2021-06-17 15:04:32 +08:00
  • 9e10f0990e interfaces/opengl: add support for Imagination PowerVR Ethan Hsieh 2021-06-17 15:04:32 +08:00
  • a621acb0f7 Merge pull request #10386 from bboozzoo/bboozzoo/uc20-decouple-re-seal-from-model Michael Vogt 2021-06-17 09:02:14 +02:00
  • ca648fee0f Merge remote-tracking branch 'upstream/master' into feature/quota-groups-remastered-deluxe-diamond-edition-2.5 Michael Vogt 2021-06-17 08:59:19 +02:00
  • 8b87b0d23a Merge pull request #10417 from bboozzoo/bboozzoo/lxd-use-stable-channel Michael Vogt 2021-06-17 08:57:25 +02:00