Commit Graph

  • 065887f878 devicestate: update EncryptionRequirements->EncryptionSupportInfo (thanks to Samuele) Michael Vogt 2022-08-24 09:21:55 +02:00
  • 19e6c75f59 overlord/servicestate: add missing unit tests for conflict detection, fix conflict detection for snaps Philip Meulengracht 2022-08-24 10:49:00 +02:00
  • 746574de8f overlord/servicestate: review feedback Philip Meulengracht 2022-08-24 09:55:41 +02:00
  • b780b0bda6 devicestate: update testInstallGadgetNoSave() Michael Vogt 2022-08-24 09:24:50 +02:00
  • 46e8dd142c overlord: rename some modeEnv vars to modeenv Alfonso Sánchez-Beato 2022-08-24 08:00:25 +01:00
  • fc301d17a3 tests/main/snapd-snap: Test snapd-apparmor with snapd snap Alex Murray 2021-11-23 16:36:07 +10:30
  • 9e78c46d77 Third part of the nested cleanup Sergio Cazzolato 2022-08-23 17:52:32 -03:00
  • 90c9b0fcc7 o/devicestate: tweak importAssertionsFromSeed so isCoreBoot is really that Alfonso Sánchez-Beato 2022-08-23 16:30:48 +01:00
  • 5bd97b39a0 tests: fix sbuild test on debian sid (#12043) Sergio Cazzolato 2022-08-23 12:01:00 -03:00
  • dd56429764 many: some minor changes following review Alfonso Sánchez-Beato 2022-08-23 13:52:40 +01:00
  • 04f865f379 many: Vendor apparmor-3.0.7 into the snapd snap Alex Murray 2021-11-23 16:42:02 +10:30
  • 3627e63d83 overlord: part one of support for assigning a quota group to a snap upon install. Philip Meulengracht 2022-08-23 13:48:14 +02:00
  • 12e7526282 devicestate: drive-by typo fix (thanks to Samuele) Michael Vogt 2022-08-23 12:19:44 +02:00
  • 8fbfbdf110 devicestate: rename makeMockInstalledPcGadget->makeMockInstalledPcKernelAndGadget Michael Vogt 2022-08-23 12:19:18 +02:00
  • 338d8e6176 Merge pull request #12062 from alfonsosanchezbeato/fix-double-test-run Miguel Pires 2022-08-23 09:28:57 +01:00
  • ccbca84e6b Merge pull request #12064 from mardy/tests-remove-dup-execution Miguel Pires 2022-08-23 09:28:29 +01:00
  • 1d1aefa336 many: refactor store code to be able to use simpler form of auth creds (#12057) Samuele Pedroni 2022-08-23 10:25:28 +02:00
  • 028f70e9e9 sandbox/apparmor: remove duplicate hook into testing package Alberto Mardegan 2022-08-23 08:26:06 +03:00
  • a6966c4f27 devicestate: return an error in checkEncryption() if KernelInfo fails Michael Vogt 2022-08-22 19:21:02 +02:00
  • cc9cdfd8d1 devicestate: add checking for gadget compatbility in checkEncryptionAndRequirements Michael Vogt 2022-08-22 18:37:14 +02:00
  • fc56881046 devicestate: refactor and make the information in EncryptionRequirements richer Michael Vogt 2022-08-22 17:27:48 +02:00
  • 70a81df146 o/devicestate: do not run tests in this folder twice Alfonso Sánchez-Beato 2022-08-22 16:14:23 +01:00
  • 7aa8d3763e device: refactor DeviceManager.checkEncryption() Michael Vogt 2022-08-19 18:13:02 +02:00
  • 5b8a2cf0c0 snap,store: drop support/consideration for anonymous download urls (#12056) Samuele Pedroni 2022-08-22 10:57:58 +02:00
  • ee4451e05d tests/main/snap-quota-journal: review feedback Philip Meulengracht 2022-08-22 10:32:18 +02:00
  • 8fc73b96ac data/selinux: allow snaps to read certificates (#12050) Alberto Mardegan 2022-08-22 10:28:23 +03:00
  • 5cd7cfc00e Reload ssh.service, not sshd.service Steve Langasek 2022-08-19 18:01:25 -07:00
  • d2feea1aaa overlord: import assertions from seed in the classic with modes case Alfonso Sánchez-Beato 2022-08-19 17:41:17 +01:00
  • 40edbc4e53 o/devicestate: ensure boot is ok for classic with modes Alfonso Sánchez-Beato 2022-08-19 17:40:09 +01:00
  • 8574a1ad39 seed: add some debug traces Alfonso Sánchez-Beato 2022-08-19 17:34:20 +01:00
  • 97b65fd361 Merge pull request #12042 from alfonsosanchezbeato/devctx-add-isboot-methods Michael Vogt 2022-08-19 15:38:52 +02:00
  • ec9ef76133 o/snapstate: rename test Miguel Pires 2022-08-19 14:10:00 +01:00
  • 5e6c442bf3 Merge pull request #12053 from MiguelPires/no-refresh-sets Miguel Pires 2022-08-19 13:04:22 +01:00
  • e5266ccc4f Merge pull request #12032 from flotter/mazeio-crypt-repo-url Michael Vogt 2022-08-19 13:33:40 +02:00
  • 0ef21e823e Merge pull request #12054 from mvo5/remove-unecessary-use-of-fmt-sprintfs Michael Vogt 2022-08-19 13:31:06 +02:00
  • b25521d528 Merge pull request #12055 from mvo5/no-yoda Michael Vogt 2022-08-19 13:30:58 +02:00
  • 997d09faff tests: add spread test for /systems/<label> Michael Vogt 2022-08-19 12:57:37 +02:00
  • 647fefa969 devicestate: add tests for ModelAndGadgetInfoFromSeed() Michael Vogt 2022-08-19 12:10:48 +02:00
  • de3e71aa43 o/devicestate/devicectx_test: test for more modes Alfonso Sánchez-Beato 2022-08-19 10:35:23 +01:00
  • d8061a30ca overlord,snap: add some additional comments to Device interface/implementation Alfonso Sánchez-Beato 2022-08-19 10:30:21 +01:00
  • 7d846e9ada Merge pull request #12051 from pedronis/extend-contrib-guidelines Michael Vogt 2022-08-19 11:14:30 +02:00
  • c0e230ed9e daemon: add more mockable tests for getSystemDetails() Michael Vogt 2022-08-19 10:42:55 +02:00
  • 99f1b3dc24 devicestate: simplify code that gets the gadgetSnapPath in ModelAndGadgetInfoFromSeed Michael Vogt 2022-08-19 10:13:31 +02:00
  • a4b84dfbe4 gadget: remove unneeded "json" tag for gadget.Info.Volumes Michael Vogt 2022-08-19 10:13:02 +02:00
  • eaae086301 daemon: rename getSystemsAction->getSystemDetails Michael Vogt 2022-08-19 10:12:31 +02:00
  • bae7d30786 bootloader,systemd: fix don't use Yoda conditions (ST1017) Michael Vogt 2022-08-19 10:05:23 +02:00
  • 77413f1f18 many: fix unnecessary use of fmt.Sprintf (S1039) Michael Vogt 2022-08-19 09:46:13 +02:00
  • eabbbe8dc7 o/assertstate: don't refresh enforced validation sets during check Miguel Pires 2022-08-18 17:53:52 +01:00
  • c0c2bbc20c daemon: add GET support for /systems/<seed-label> Michael Vogt 2022-08-17 09:25:20 +02:00
  • 9ad68aa37c gadget: add json tags to the gadget.Info.Volume Michael Vogt 2022-08-18 18:11:16 +02:00
  • bd245c158a b/boottest: fix unit test panics Alfonso Sánchez-Beato 2022-08-18 12:06:19 +01:00
  • 7eb3a46b2d HACKING.md: extend guidelines with common review comments Samuele Pedroni 2022-08-18 11:43:08 +02:00
  • 68caf2383b o/snapstate: add tests for indefinite holds Miguel Pires 2022-08-18 10:38:46 +01:00
  • 4f9d0c11a6 o/devicestate/devicectx_test: check also DeviceContext methods Alfonso Sánchez-Beato 2022-08-18 10:36:50 +01:00
  • f83b1f1560 many: progress bars should use the overridable stdouts (#12047) Samuele Pedroni 2022-08-18 11:34:35 +02:00
  • bd6c9a4efd o/snapstate: change function/test names Miguel Pires 2022-08-18 10:20:56 +01:00
  • 63fc2a11ee o/devicestate/devicectx_test: fixed test name and added comments Alfonso Sánchez-Beato 2022-08-18 10:07:38 +01:00
  • 89ad522084 o/devicestate: add tests for groundDeviceContext Alfonso Sánchez-Beato 2022-08-18 10:01:52 +01:00
  • e429312c3f boot/bootest: panic if mocks called with wrong args, small refactor Alfonso Sánchez-Beato 2022-08-18 10:00:45 +01:00
  • 45e024c35d o/devicestate: clarify docstring comment Alfonso Sánchez-Beato 2022-08-18 09:58:50 +01:00
  • 338b67bc03 Merge pull request #12044 from sergiocazzolato/tests-update-google-sru-2 Michael Vogt 2022-08-18 09:02:03 +02:00
  • 185fb2c8b1 tests: import remote tools (#11995) Sergio Cazzolato 2022-08-17 14:21:19 -03:00
  • 3cab52822f Merge pull request #12038 from mvo5/remove-deprecated-header-map Michael Vogt 2022-08-17 16:26:25 +02:00
  • a1ca0419d1 Remove ubuntu 21.10 from sru validation Sergio Cazzolato 2022-08-17 09:35:52 -03:00
  • ded8410884 o/snapstate: make maxDuration into const Miguel Pires 2022-08-17 13:11:18 +01:00
  • 2e51380382 many: add Is{Core,Classic}Boot() to DeviceContext Alfonso Sánchez-Beato 2022-08-17 13:06:51 +01:00
  • 4abd27567e Merge branch 'master' into refresh-hold-overlord Miguel Pires 2022-08-17 13:02:51 +01:00
  • 8326eaf6ba Merge pull request #12040 from mvo5/asserts-add-more-checks Miguel Pires 2022-08-17 09:19:04 +01:00
  • debe74f89a Merge pull request #12036 from mvo5/version-compare-gcc-s1 Michael Vogt 2022-08-17 09:05:24 +02:00
  • 6ca6cf9fd2 Merge pull request #12039 from mvo5/testutil-remove-unneeded-sprintf Michael Vogt 2022-08-17 09:04:33 +02:00
  • 460b38cb6d Merge pull request #12041 from mvo5/boot-unneeded-sprintf Michael Vogt 2022-08-17 09:04:21 +02:00
  • c4b5f61062 o/c/configcore: ensure AA tunables are written in unit tests Alberto Mardegan 2022-08-17 09:12:41 +03:00
  • 7eed60ad71 tests: implement prepare_gadget and prepare_base and unify all the version (#12033) Sergio Cazzolato 2022-08-16 16:54:06 -03:00
  • 42721b7ef2 boot: remove some unneeded fmt.Sprintf() calls Michael Vogt 2022-08-16 21:00:12 +02:00
  • 0510676887 asserts: add some missing c.Check() in the asserts test Michael Vogt 2022-08-16 20:56:01 +02:00
  • 4eff3617d9 testutil: remove unneeded fmt.Sprintf Michael Vogt 2022-08-16 20:47:29 +02:00
  • d6708bd7e1 daemon,usersession: switch from HeaderMap to Header in tests Michael Vogt 2022-08-16 20:40:54 +02:00
  • 7b31db872f tests: add prereq check that snap-quota-journal is active Michael Vogt 2022-08-16 20:26:24 +02:00
  • afbd3ae43b Merge pull request #12021 from MiguelPires/refactor-refresh-sched Miguel Pires 2022-08-16 19:14:16 +01:00
  • 9f297acf63 tests: tweak test as suggested by Alberto Michael Vogt 2022-08-16 18:11:46 +02:00
  • 114a0b24da tests: remove unneeded remove in snap-quota-journal test Michael Vogt 2022-08-16 17:53:53 +02:00
  • 6e78408b41 tests: sort systems in snap-quota-journal alphabetically Michael Vogt 2022-08-16 17:52:48 +02:00
  • e53a826e18 Merge pull request #11911 from stolowski/validation-sets/try-enforce-validation-sets Michael Vogt 2022-08-16 18:30:58 +02:00
  • 0e901f1652 Merge pull request #12030 from jnsgruk/add-kconfig-system-observe Michael Vogt 2022-08-16 18:19:31 +02:00
  • 321ba7e414 Merge pull request #12002 from mvo5/import-debian-2.54.3-1.1-and-merge-patch Michael Vogt 2022-08-16 17:59:02 +02:00
  • 34f3136cb5 crypto: update url for maze.io/x/crypto sources Fred Lotter 2022-08-12 15:22:55 +02:00
  • 93f06133a5 o/snapstate: log instead of error on invalid refresh schedule Miguel Pires 2022-08-16 16:01:30 +01:00
  • e71439f1a2 o/snapstate: remove unused param and cast Miguel Pires 2022-08-16 12:31:58 +01:00
  • 42dc5efb05 Merge remote-tracking branch 'upstream/master' into validation-sets/try-enforce-validation-sets Michael Vogt 2022-08-16 12:59:08 +02:00
  • 9512a42ae5 Merge pull request #11988 from pedronis/crisper-check-provenance-api Michael Vogt 2022-08-16 12:51:04 +02:00
  • 1973f90d85 packaging: drop 0011-Fix-test-with-godbus-5.0.5.patch from series Michael Vogt 2022-08-16 12:50:38 +02:00
  • d11cab2e68 o/snapstate: renamed func Miguel Pires 2022-08-16 10:33:25 +01:00
  • 03c911eeff Merge pull request #12009 from valentindavid/valentindavid/error-retry-command Michael Vogt 2022-08-16 10:53:55 +02:00
  • 7594dc51d9 Merge pull request #12012 from valentindavid/valentindavid/old-systemctl Michael Vogt 2022-08-16 10:52:47 +02:00
  • 5fbc50a8cf Merge remote-tracking branch 'upstream/master' into preseed-clean-tmp-snapd-mount Michael Vogt 2022-08-16 10:51:38 +02:00
  • 57952322d9 strutil: unexport VersionIsValid Michael Vogt 2022-08-15 18:32:28 +02:00
  • c850c912cc strutil: fix VersionCompare() to allow multiple - in the version Michael Vogt 2022-08-15 18:21:10 +02:00
  • 0b28d1f65c tests: remove holds before auto-refreshing in tests Miguel Pires 2022-08-15 17:10:20 +01:00
  • 8de767ef55 o/snapstate: respect specific snap holds during general refreshes Miguel Pires 2022-08-15 17:09:28 +01:00
  • 4d28afbc26 o/snapstate: support indefinite holds on snap-specific refreshes Miguel Pires 2022-08-15 14:23:16 +01:00