Commit Graph

  • f8abfb97d0 seed/seedtest: tweak seed validation helper to workt with core20/18 and old core seeds Maciej Borzecki 2021-05-27 08:37:23 +02:00
  • 88644518c5 Merge remote-tracking branch 'upstream/master' into enable-feature-dbus-activation James Henstridge 2021-05-27 13:33:45 +08:00
  • a1076d55c0 Merge branch 'master' into feature/snapd-snap-built-with-lxd Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-05-26 16:38:41 -05:00
  • 09e843e732 Merge branch 'master' into bugfix/uc20-data-nosuid Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-05-26 16:38:18 -05:00
  • 36a8bb5e96 cmd/snap/userd: include user home path in error message, test this case Ian Johnson 2021-05-26 16:29:57 -05:00
  • f9120dff21 Merge branch 'master' into bugfix/lp-1910298-part-1 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-05-26 16:19:29 -05:00
  • 807ca4c941 o/configstate/configcore: fix import order Ian Johnson 2021-05-26 15:49:31 -05:00
  • 73c3223b63 Merge branch 'master' into feature/swap-option Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-05-26 15:44:34 -05:00
  • 8bee700e22 Merge pull request #10296 from mardy/remove-unneeded-param Ian Johnson 2021-05-26 15:27:34 -05:00
  • ce6786d9ea Moving back the snap Sergio Cazzolato 2021-05-26 17:10:28 -03:00
  • 3b1945cae5 Move back snap to tests/lib/snaps Sergio Cazzolato 2021-05-26 16:04:03 -03:00
  • a5e24edf06 Moving back the snap test-snapd-user-service-v2-bad Sergio Cazzolato 2021-05-26 15:51:37 -03:00
  • 73b89dac11 Merge pull request #10306 from anonymouse64/feature/quota-groups-9 Ian Johnson 2021-05-26 12:32:41 -05:00
  • 40e4b614bb Merge pull request #10304 from anonymouse64/feature/quota-groups-7 Ian Johnson 2021-05-26 12:32:16 -05:00
  • 5e1a8ca34d Revert fix for refresh-undo Sergio Cazzolato 2021-05-26 14:29:24 -03:00
  • a93e9eff30 systemd/systemd.go: adjust error message for consistency Ian Johnson 2021-05-26 11:57:32 -05:00
  • 1cb380d349 many: deal with snap debug get-base-declaration Samuele Pedroni 2021-05-26 18:01:05 +02:00
  • 1e18f6ab9c Fix more tests using old pack command Sergio Cazzolato 2021-05-26 12:44:38 -03:00
  • 7f1bed8414 daemon/api_quotas_test.go: make test more realistic Ian Johnson 2021-05-26 09:57:05 -05:00
  • 9f3904f674 systemd/systemd.go: adjust error messages Ian Johnson 2021-05-26 09:51:08 -05:00
  • 65d81d16be Remove SnapBase() from snap.Info Paweł Stołowski 2021-05-26 16:33:40 +02:00
  • aa93c36524 Merge branch 'master' into refresh-control/autorefresh-phases-phase2 Paweł Stołowski 2021-05-26 16:30:38 +02:00
  • f98d4b6239 Merge pull request #10284 from stolowski/refresh-control/minimal-install-info-iface Michael Vogt 2021-05-26 16:25:54 +02:00
  • a710d6c266 daemon: tighten access to POST /v2/model to be root only Samuele Pedroni 2021-05-26 16:21:41 +02:00
  • 50850d1846 daemon: tighten access to POST /v2/debug to only root Samuele Pedroni 2021-05-26 16:17:21 +02:00
  • a571010d32 Merge remote-tracking branch 'upstream/master' into tests-reorg-local-snaps-part-2 Sergio Cazzolato 2021-05-26 10:52:05 -03:00
  • 9f74a42330 Fix pack local to use local snaps as in first place Sergio Cazzolato 2021-05-26 10:49:23 -03:00
  • 43920568f5 Merge pull request #10272 from stolowski/refresh-control/snapctl-pending Michael Vogt 2021-05-26 15:33:49 +02:00
  • ed3e94e02b Fix vet-reported error. Paweł Stołowski 2021-05-26 14:54:20 +02:00
  • fb94ddd2bb Add test for sorting minimalInstallInfo interface by type. Paweł Stołowski 2021-05-26 11:09:46 +02:00
  • 8b9cb9dbfd Apply changes from pedronis. Paweł Stołowski 2021-05-21 15:36:23 +02:00
  • 73db4de5c8 Introduce minimalInstallInfo interface in snapstate. Paweł Stołowski 2021-05-20 14:45:28 +02:00
  • f5a7d61e61 Merge pull request #10300 from bboozzoo/bboozzoo/memory-total Maciej Borzecki 2021-05-26 14:53:33 +02:00
  • eac70e3598 Use plural "stacktraces". Paweł Stołowski 2021-05-26 14:45:28 +02:00
  • 5ff6eb8940 Moving tests to local path Sergio Cazzolato 2021-05-26 09:22:39 -03:00
  • 2cdcc6c397 interfaces/apparmor: simplify code for picking the right job count Maciej Borzecki 2021-05-26 14:05:57 +02:00
  • 51b22af926 Merge pull request #10302 from bboozzoo/bboozzoo/uc20-remodel-test-tweaks-reload-modeenv Maciej Borzecki 2021-05-26 13:59:10 +02:00
  • 9a9ceedd40 osutil: improve meminfo tests Maciej Borzecki 2021-05-26 13:37:41 +02:00
  • fab3315199 overlord/devicestate: move the test helper around Maciej Borzecki 2021-05-26 13:31:17 +02:00
  • c77ff29af1 Merge branch 'master' into debug-stacktrace Paweł Stołowski 2021-05-26 12:58:21 +02:00
  • 161670ce7a daemon: fix remaining uses of accessResult James Henstridge 2021-05-26 18:55:49 +08:00
  • 69dcdef032 Merge remote-tracking branch 'upstream/master' into daemon-access-check-response James Henstridge 2021-05-26 18:53:05 +08:00
  • 29a3cb2ed8 daemon: refine access testing Samuele Pedroni 2021-05-26 12:48:11 +02:00
  • 4ae28e10b1 Merge pull request #10309 from bboozzoo/bboozzoo/disable-unattended-upgrades-on-debian-too Michael Vogt 2021-05-26 12:43:10 +02:00
  • bfa7cbc642 Merge branch 'refresh-control/minimal-install-info-iface' into refresh-control/autorefresh-phases-phase2 Paweł Stołowski 2021-05-26 12:23:08 +02:00
  • a3666d47e5 gadget: support creating vfat partitions during bootstrap Michael Vogt 2021-05-26 11:42:16 +02:00
  • b03bf8bd5d Add test for sorting minimalInstallInfo interface by type. Paweł Stołowski 2021-05-26 11:09:46 +02:00
  • 352da18ace spread: disable unattended-upgrades on debian Maciej Borzecki 2021-05-26 11:02:01 +02:00
  • 87abc2aa62 Apply changes from pedronis. Paweł Stołowski 2021-05-21 15:36:23 +02:00
  • 8859f706f8 Introduce minimalInstallInfo interface in snapstate. Paweł Stołowski 2021-05-20 14:45:28 +02:00
  • 3adcdb1445 daemon: use the as*Auth suite methods in api_quotas_test.go Samuele Pedroni 2021-05-26 10:43:55 +02:00
  • 3b837a912b sandbox/cgroup: wait for pid to be moved to the desired cgroup Maciej Borzecki 2021-05-26 09:00:53 +02:00
  • 7c7a92ac14 o/servicestate/servicemgr_test.go: fix typo Ian Johnson 2021-05-25 21:03:28 -05:00
  • ae9a4dac79 snap/quota: add CurrentMemoryUsage for current memory usage of a quota group Ian Johnson 2021-05-25 14:23:59 -05:00
  • 42a8bc304e systemd/systemd.go: use systemctlError interface instead of *systemd.Error Ian Johnson 2021-05-25 21:03:14 -05:00
  • a22462b977 daemon/api_quotas.go: support updating quotas with ensure action Ian Johnson 2021-05-21 17:38:17 -05:00
  • 172ed92467 systemd: add CurrentMemoryUsage to get current memory usage for a unit Ian Johnson 2021-05-25 14:22:22 -05:00
  • 595043b522 Merge remote-tracking branch 'upstream/master' into daemon-refine-access-testing Samuele Pedroni 2021-05-25 19:11:59 +02:00
  • ffa59bc33e tests/lib/reset: make nc exit after a while when connection is idle Samuele Pedroni 2021-05-25 19:11:29 +02:00
  • 589fbb58dd tests: run "dmesg- c" in snap-quota-groups to avoid triggering the oom-killer detection Michael Vogt 2021-05-25 15:55:59 +02:00
  • 1f11ba401a tests/lib/reset: make nc exit after a while when connection is idle Maciej Borzecki 2021-05-25 15:51:06 +02:00
  • 5755a3a7e5 tests: fix snap-quota-groups test slice dir and make match more precise Michael Vogt 2021-05-25 15:48:35 +02:00
  • 4d9620a571 daemon: replace access control flags on commands with access checkers Samuele Pedroni 2021-05-25 15:48:28 +02:00
  • d7a0147ce1 Merge pull request #10294 from anonymouse64/feature/changelog-python-more-improvements Maciej Borzecki 2021-05-25 15:20:56 +02:00
  • b868bcf2f5 release-tools/changelog.py: rename string variables since they aren't bytes Ian Johnson 2021-05-25 07:54:43 -05:00
  • c553375e71 overlord, overlord/devicestate: allow for reloading modeenv in devicemgr when testing Maciej Borzecki 2021-05-25 14:43:45 +02:00
  • 88a6e201a4 overlord/devicestate: use seedtest helper for basic validation of system seed Maciej Borzecki 2021-05-17 17:42:14 +02:00
  • dd4a2189de seed/seedtest: add helper for validating system seed Maciej Borzecki 2021-05-17 17:41:43 +02:00
  • 0b909de3a7 Add snap debug stacktrace spread test. Paweł Stołowski 2021-05-25 14:18:16 +02:00
  • 9b7f0497c4 osutil: a helper to find out the total amount of memory in the system Maciej Borzecki 2021-05-25 13:30:26 +02:00
  • 3f84a73559 Add spread test for classic snaps content slots Alfonso Sánchez-Beato 2021-05-25 12:12:04 +02:00
  • 18cdd4e370 Revert "Restrict stacktrace for root, otherwise keep the rest of debug commands" Paweł Stołowski 2021-05-25 11:49:05 +02:00
  • 9a73e6db2c Do not split stacktrace, just return text blob. Paweł Stołowski 2021-05-25 11:21:03 +02:00
  • f901629b43 Restrict stacktrace for root, otherwise keep the rest of debug commands with UserOK. Paweł Stołowski 2021-05-25 11:18:59 +02:00
  • 2477f3462c Merge remote-tracking branch 'upstream/master' into daemon-access-check Samuele Pedroni 2021-05-25 11:10:48 +02:00
  • 3416f0c87f Implement 'snap debug stacktrace command'. Restrict debug endpoint to root only. Paweł Stołowski 2021-05-25 10:40:15 +02:00
  • 92a43cf5f6 overlord/hookstate/ctlcmd: remove unneeded parameter Alberto Mardegan 2021-05-25 11:15:18 +03:00
  • 958b7cc69d interfaces/apparmor: limit the number of jobs when running with a single CPU Maciej Borzecki 2021-05-25 09:22:28 +02:00
  • 264284dfbd Merge pull request #10293 from bboozzoo/bboozzoo/debian-sid-patch-update Michael Vogt 2021-05-25 09:17:52 +02:00
  • 7a3dcd51ba release-tools/changelog.py: refactor regexp + file reading/writing Ian Johnson 2021-05-24 14:05:30 -05:00
  • 6621ba3a3a packaging/debian-sid: update locale patch for the latest master Maciej Borzecki 2021-05-24 15:30:29 +02:00
  • 9b19480212 tests/snap-quota-groups: use retry instead of sleeping Ian Johnson 2021-05-24 09:51:58 -05:00
  • 7167b67cb9 tests/snap-quota-groups: check that the slice is inactive after group removal Ian Johnson 2021-05-24 09:51:38 -05:00
  • 7b82f2c83d tests/nested/core/core20-create-recovery: verify creating recovery systems at runtime Maciej Borzecki 2021-05-07 14:26:36 +02:00
  • e65f1f2775 daemon: debug endpoint to create a recovery system Maciej Borzecki 2021-03-09 12:56:42 +01:00
  • 74d92d950a Merge pull request #10254 from bboozzoo/bboozzoo/uc20-recovery-system-create-change Maciej Borzecki 2021-05-24 14:28:05 +02:00
  • 9874eb81d8 overlord/devicestate: post review tweaks and cleanups Maciej Borzecki 2021-05-24 13:17:42 +02:00
  • fb753793ea Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-recovery-system-create-change Maciej Borzecki 2021-05-24 12:45:53 +02:00
  • 841e99ce0f tests: another attempt, use 100MB Maciej Borzecki 2021-05-24 12:32:37 +02:00
  • 2ab2c2a01c Merge remote-tracking branch 'upstream/master' into bboozzoo/core-tests-with-memory-limit Maciej Borzecki 2021-05-24 12:31:54 +02:00
  • d7b7764019 Simplify the condition (thanks mardy!). Paweł Stołowski 2021-05-06 13:05:51 +00:00
  • 10d73e5511 Check if we have snapd snap with correct snap type already in snapstate and skip migration step if so as we can have at most one snapd snap anyway. This fixes such edge case and also makes use of previously unused statePatch6_2JSONWithSnapd meant for such test. Paweł Stołowski 2021-05-06 12:08:17 +00:00
  • 9849b4bc53 Merge pull request #10281 from anonymouse64/feature/auto-changelog-writer Maciej Borzecki 2021-05-24 12:07:04 +02:00
  • eb30d2c7c6 snapctl refresh --pending: print pending info (ready|inhibited|none). Paweł Stołowski 2021-05-18 13:23:46 +02:00
  • 8a0d30645e overlord/devicestate: update fake store factory callback Maciej Borzecki 2021-05-24 10:20:08 +02:00
  • 654c61dd00 More test fixes using new path for local snaps Sergio Cazzolato 2021-05-22 00:10:25 -03:00
  • 04dbedbfd6 Fix failing tests Sergio Cazzolato 2021-05-21 22:09:52 -03:00
  • e0b63e07bc Merge pull request #10283 from sergiocazzolato/tests-update-nested-plan Ian Johnson 2021-05-21 17:40:45 -05:00
  • e0e68d0168 release-tools/changelog.py: refactor debian distro list to use classes Ian Johnson 2021-05-21 16:55:49 -05:00
  • b301028f9d tests/main/snap-quota-groups: add functional spread test for quota groups Ian Johnson 2021-05-20 20:12:32 -05:00