Commit Graph

  • dc86b35b6c Renmove unneeded TearDown methods (thanks pedronis). Paweł Stołowski 2022-02-16 13:24:22 +01:00
  • e1c3a521fb Fix shellcheck Sergio Cazzolato 2022-02-16 09:15:28 -03:00
  • ead29039b9 bootloader/grub_test.go: remove now unused variable Alfonso Sánchez-Beato 2022-02-16 12:22:11 +01:00
  • bbb63c295e Merge pull request #11390 from sergiocazzolato/tests-fix-security-udev-input-subsystem Michael Vogt 2022-02-16 12:20:58 +01:00
  • 4425d79725 boot/reboot_test.go: remove unused variable Alfonso Sánchez-Beato 2022-02-16 12:18:23 +01:00
  • 5903d72f39 bootloader: use AddCleanup instead of TearDownTest in tests Alfonso Sánchez-Beato 2022-02-16 12:01:06 +01:00
  • 451bd20b6e daemon: make sure to retrieve RebootInfo while holding mutex Alfonso Sánchez-Beato 2022-02-16 11:53:47 +01:00
  • 66a1add2e3 daemon: test reboot function in some unit tests Alfonso Sánchez-Beato 2022-02-16 11:53:12 +01:00
  • 96e923809e boot/reboot: allow not testing reboot if necessary Alfonso Sánchez-Beato 2022-02-16 11:51:32 +01:00
  • f1e4c57df4 boot: minor refactor Alfonso Sánchez-Beato 2022-02-16 11:47:56 +01:00
  • 1f14e8d123 Merge pull request #11396 from anonymouse64/feature/install-mode-journal-binary-data-too Pawel Stolowski 2022-02-16 11:03:03 +01:00
  • 302a7bcd7e Mock mount/umount in SetUpTest. Paweł Stołowski 2022-02-16 10:54:58 +01:00
  • 7c849709de Add TODO about creating preseeding_test.go. Paweł Stołowski 2022-02-16 10:30:47 +01:00
  • 71fc1b6064 Rename test suites to *preseeding*. Paweł Stołowski 2022-02-16 10:22:21 +01:00
  • 46306bac1a Take "classic" flag when setting up deviceMgrBaseSuite. Paweł Stołowski 2022-02-16 10:11:51 +01:00
  • b1270c5321 Merge pull request #11397 from anonymouse64/feature/simplify-snapstate-tests Ian Johnson 2022-02-15 13:54:05 -06:00
  • 077fbe2a03 bootloader/grub_test: add multi-arch support Alfonso Sánchez-Beato 2022-02-15 19:12:34 +01:00
  • 347b73cbee bootloader/grub: check for prepare image time when retrieving boot assets Alfonso Sánchez-Beato 2022-02-15 19:11:34 +01:00
  • db816dfecf arch: add mock function for architecture Alfonso Sánchez-Beato 2022-02-15 19:09:28 +01:00
  • 59c5d92c8d o/devicestate/handlers_install.go: use --all to get binary data too for logs Ian Johnson 2022-01-26 14:08:47 -06:00
  • 0efa757a57 Error out if no preseed system is available. Paweł Stołowski 2022-02-15 16:59:02 +01:00
  • 1cd71e2ad6 tests/core/basic20: check that disk-mapping.json is created Ian Johnson 2022-02-10 15:59:45 -06:00
  • 716aad7836 tests/main/uc20-create-partitions: check disk-mapping.json too Ian Johnson 2022-01-09 07:59:23 -06:00
  • e15cb8771e gadget/install: measure and save disk volume traits during install.Run() Ian Johnson 2022-02-11 11:40:32 -06:00
  • 0552b8a342 Merge branch 'master' into feature/uc20-multi-volume-gadget-asset-updates-42 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2022-02-15 09:57:50 -06:00
  • caed935981 Merge branch 'master' of https://github.com/glenpickle/snapd William Wilson 2022-02-15 09:17:38 -06:00
  • 5bce05efbb Address comments from pedronis and anonymouse64 William Wilson 2022-02-15 09:17:33 -06:00
  • 999b9e5778 o/snapstate: fix more corecore usages Ian Johnson 2022-02-14 19:51:54 -06:00
  • 3b2780eeef o/snapstate: prereq snaps might be unsorted Alfonso Sánchez-Beato 2022-02-15 16:03:39 +01:00
  • f7d3fcfb1f o/snapstate: rename "corecore" -> "core" Ian Johnson 2022-02-14 15:31:57 -06:00
  • e57469f514 o/snapstate: implement transactional lanes for prereqs Alfonso Sánchez-Beato 2022-02-15 15:22:10 +01:00
  • 45491a35b8 spread: remove uc-core20/core22 i386 targets as they are not supported Philip Meulengracht 2022-02-15 14:50:35 +01:00
  • c80b318bb4 releasing package snapd version 2.54.3 2.54.3 Michael Vogt 2022-02-15 12:49:27 +01:00
  • 42bc40ed75 Merge pull request #3 from mvo5/bugfix/rm-vuln-versions-in-ensure Michael Vogt 2022-02-15 12:42:44 +01:00
  • 07b2f650ee Merge pull request #11326 from alfonsosanchezbeato/transactional-actions Michael Vogt 2022-02-15 12:29:40 +01:00
  • 3abb4089f4 snapstate: use version number to differentiate vulnerable versions Michael Vogt 2022-02-15 11:22:39 +01:00
  • 3f3432b0f1 tests/nested/manual: add spread test to confirm we remove vulnerable revisions Ian Johnson 2022-02-14 19:37:16 -06:00
  • f3954a404f o/snapstate/snapmgr: remove inactive, vulnerable snapd, core snap revisions Ian Johnson 2022-02-14 15:36:37 -06:00
  • c69f9f53a4 o/snapstate: rename "corecore" -> "core" Ian Johnson 2022-02-14 15:31:57 -06:00
  • e7a407f782 Merge pull request #11376 from MiguelPires/skip-flaky-opensuse Michael Vogt 2022-02-15 11:56:24 +01:00
  • f8d77dabc7 asserts,interfaces/policy: move and prepare DeviceScopeConstraint for reuse Samuele Pedroni 2022-02-15 11:50:39 +01:00
  • 8edca498fd asserts: fetching code should fetch authority-delegation assertions with signing keys as needed Samuele Pedroni 2022-02-15 11:49:36 +01:00
  • b8ce8ad908 asserts: add comments about SignatoryID() not being empty when fetching Samuele Pedroni 2022-02-15 11:03:00 +01:00
  • 7761cceaf6 Add preseedSystem() accessor. Paweł Stołowski 2022-02-15 11:02:53 +01:00
  • 3d8c6fff2b Determine system for preseeding in Manager(), not StartUp(). Paweł Stołowski 2022-02-15 10:08:06 +01:00
  • ddc42cbb56 Set sysMode to "run" when preseeding. Paweł Stołowski 2022-02-14 10:53:28 +01:00
  • 74294f0a59 Ony SetNextBoot if not preseeding in LinkSnap. Paweł Stołowski 2022-02-14 10:28:08 +01:00
  • 978a575231 Cache system for preseeding on device manager. Paweł Stołowski 2022-01-21 11:29:06 +01:00
  • a718dde2ed Add test for preload gadget. Paweł Stołowski 2022-01-14 17:08:05 +01:00
  • bd3f924d28 Add modeenv test. Paweł Stołowski 2022-01-14 16:21:06 +01:00
  • 91b0f16dd5 Return an error if modeenv is used during preseeding. Paweł Stołowski 2022-01-12 15:45:57 +01:00
  • e05313fd8f Set label for preseeding in prepareGadget, remove unloadDeviceSeed hack. Use "run" mode when preseeding. Paweł Stołowski 2022-01-12 14:06:21 +01:00
  • 9964340872 Preseeding: pick the system from seed systems/ and set populateStateFromSeedOptions accordingly when on core20. Paweł Stołowski 2022-01-05 17:55:26 +01:00
  • 80e03f81f7 Fix security-udev-input-subsystem test Sergio Cazzolato 2022-02-14 20:36:52 -03:00
  • cb611e59aa Allow run spread tests using a private ppa Sergio Cazzolato 2022-02-14 17:36:51 -03:00
  • f2fdf40bf0 bootloader: include grub prefix in some names uin grub.go Alfonso Sánchez-Beato 2022-02-14 19:06:08 +01:00
  • b70a9f446c tests: prepare and restore nested tests (#11373) Sergio Cazzolato 2022-02-14 14:24:15 -03:00
  • cfaf48ef20 asserts,interfaces/policy: introduce DeviceScopeConstraint.Check Samuele Pedroni 2022-02-11 17:18:28 +01:00
  • 0656be2213 asserts: adapt to new usage of compileDeviceScopeConstraint Samuele Pedroni 2022-02-11 14:55:49 +01:00
  • 52de97d821 asserts: move DeviceScopeConstraint to constraint.go Samuele Pedroni 2022-02-11 14:53:36 +01:00
  • 8b397923cb asserts: teach Pool about delegation Samuele Pedroni 2022-02-04 18:04:56 +01:00
  • d3bc9d65bc asserts: teach the Fetcher implemention about delegation Samuele Pedroni 2022-02-04 17:10:13 +01:00
  • d5c752b103 asserts: drop wrong and unnecessary type in fixture headers Samuele Pedroni 2022-02-13 14:48:30 +01:00
  • ae292381b7 asserts: first-class support for formatting/encoding signatory-id Samuele Pedroni 2022-02-14 15:19:03 +01:00
  • a96bd61934 tests/nested/core/core20-kernel-failover: fix typo Alfonso Sánchez-Beato 2022-02-14 12:56:41 +01:00
  • e15f0f526b boot: small refactor moving variables Alfonso Sánchez-Beato 2022-02-14 12:36:04 +01:00
  • a62fb9e949 boot: some clean-ups for test as suggested in review Alfonso Sánchez-Beato 2022-02-14 12:35:28 +01:00
  • b28fdead96 daemon: add todo related to lack of RebootInfo in d.expectedRebootDidNotHappen case Alfonso Sánchez-Beato 2022-02-14 12:33:25 +01:00
  • 09543ee333 boot: rename Rbl to RebootBootloader in RebootInfo Alfonso Sánchez-Beato 2022-02-14 12:32:52 +01:00
  • e600a66137 asserts: small cleanups in check(No)Authority Samuele Pedroni 2022-02-14 11:44:12 +01:00
  • 52b49e10ec asserts: remove unused function, fix for linter Samuele Pedroni 2022-02-14 11:28:05 +01:00
  • 721bf78f27 bootloader: use different boot assets in grub depending on arch Alfonso Sánchez-Beato 2022-02-14 10:49:04 +01:00
  • 9d6f9666b0 tests: fix logic checks in prepare.sh Philip Meulengracht 2022-02-14 10:35:53 +01:00
  • 88ae6ea8d7 spread.yaml: add qemu target for core22 Philip Meulengracht 2022-02-14 08:51:33 +01:00
  • 939291e26f tests/smoke/install: unfortunately core22 has to be installed before test-snapd-sh-core22 Philip Meulengracht 2022-02-12 08:57:04 +01:00
  • ac8af0ca78 multiple: avoid double snap install in prepare.sh Philip Meulengracht 2022-02-11 23:44:06 +01:00
  • dd6793abc4 gadget: refactor StructureEncryption to have a concrete type instead of map Ian Johnson 2022-02-11 11:30:52 -06:00
  • 9500096589 gadgettest: add mock encrypted luks pi setups Ian Johnson 2022-02-11 09:27:22 -06:00
  • c56d18fe5a Merge pull request #11354 from anonymouse64/feature/uc20-multi-volume-gadget-asset-updates-34 Ian Johnson 2022-02-11 11:29:54 -06:00
  • 50d83b8790 asserts: remove unused function Samuele Pedroni 2022-02-11 16:20:39 +01:00
  • 41cb1b79f7 b/assets: revert grub-recovery.cfg edition to 1 again Alfonso Sánchez-Beato 2022-02-11 15:44:19 +01:00
  • d429e4746b Update snapd-testing-tools to 'cf0bf3ba2eeb2790e0c811acb4051f38764b71e0' Philip Meulengracht 2022-02-11 15:37:12 +01:00
  • cf0bf3ba2e Squashed 'tests/lib/external/snapd-testing-tools/' changes from e755eca0f8..3844702a17 Philip Meulengracht 2022-02-11 15:37:11 +01:00
  • ffbb0e404c asserts: error consistency tweak Samuele Pedroni 2022-02-08 19:44:36 +01:00
  • 078cb5f74c asserts: first-class support for formatting/encoding signatory-id Samuele Pedroni 2022-02-04 16:40:06 +01:00
  • 984e5be0a0 asserts,cmd/snap-repair: support delegation when validating signatures Samuele Pedroni 2022-02-11 15:17:25 +01:00
  • ce12f8142f tests/smoke/install: shellcheck fix Philip Meulengracht 2022-02-11 15:03:10 +01:00
  • ea416b68b6 Update snapd-testing-tools to '320d11427d7dd222e7d6021ee67039edb6fea7f7' Philip Meulengracht 2022-02-11 14:39:51 +01:00
  • 320d11427d Squashed 'tests/lib/external/snapd-testing-tools/' changes from dc6be12e76..e755eca0f8 Philip Meulengracht 2022-02-11 14:39:51 +01:00
  • 203f864680 tests: more core22 test snaps Philip Meulengracht 2022-02-11 13:17:07 +01:00
  • 814943bad3 tests/lib: add core22 version of jq Philip Meulengracht 2022-02-11 12:57:58 +01:00
  • b6895b8a01 tests: add smoke tests for core22 Philip Meulengracht 2022-02-11 12:47:49 +01:00
  • 409743d9f0 interfaces/systemd: drive by typo fix Maciej Borzecki 2022-02-11 14:09:58 +01:00
  • f1bd31bbe1 interfaces/systemd: tweak error messages and comments Maciej Borzecki 2022-02-11 14:09:45 +01:00
  • bb494eb221 Merge branch 'master' into transactional-actions Alfonso Sánchez-Beato 2022-02-11 13:37:45 +01:00
  • 261ac5e688 bootloader/assets: update grub.cfg edition number Alfonso Sánchez-Beato 2022-02-11 13:26:49 +01:00
  • 660db7bf77 bootloader: use different grub binaries in different arch Alfonso Sánchez-Beato 2022-02-11 12:31:02 +01:00
  • 3dd29279b3 Merge pull request #11337 from MiguelPires/mk-right-dir Michael Vogt 2022-02-11 12:25:16 +01:00
  • d6a43e6c1b tests: skip ~/.snap migration test on openSUSE Miguel Pires 2022-02-11 10:58:46 +00:00
  • 5fa9b43ed9 Merge remote-tracking branch 'upstream/master' into bboozzoo/systemd-interface-backend-batch Maciej Borzecki 2022-02-11 09:59:14 +01:00